package cn.txm.user.domain;

import cn.txm.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.util.Date;
@Data
public class User  {
    private Long id;
    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    //状态：0表示正常  -1表示禁用
    private Integer state = 0;
    private Integer age;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createtime = new Date();
    private String headImg;
    private Long logininfo_id;

}
